package com.chenyue.cm.moudules.system.service.impl;


import java.io.Serializable;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chenyue.cm.base.dao.LcBaseMapper;
import com.chenyue.cm.base.service.BaseServiceImpl;
import com.chenyue.cm.moudules.system.service.SysUserRolesService;
import com.chenyue.cm.system.dao.SysUsersRoleMapper;
import com.chenyue.cm.system.domain.SysUsersRole;

@Service(value = "userroleService")
public class SysUserRolesServiceImpl extends BaseServiceImpl<SysUsersRole>  implements SysUserRolesService {

    private Logger logger = LoggerFactory.getLogger(getClass());

    @Resource
    private SysUsersRoleMapper usersroleMapper;
    
    @Override
    @Resource(name = "sysUsersRoleMapper")
	public void setBaseMapper(LcBaseMapper<SysUsersRole, Serializable> baseMapper) {
		this.baseMapper = baseMapper;
	}

	@Override
	 @Resource(name = "sysUsersRoleMapper")
	public void setBaseDao(BaseMapper<SysUsersRole> basedao) {
		// TODO Auto-generated method stub
		this.baseDao = basedao;
	}

	

}
